<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
 		<title></title>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<jsp:include page="/page/front/include.jsp"></jsp:include>
		<link rel="stylesheet" type="text/css" href="css/front/user_center.css" />
		<script type="text/javascript" src="js/front/area.js"></script>
		<script type="text/javascript" src="js/front/check_address.js"></script>
		<script language="JavaScript" type="text/javascript">
		$(document).ready(function() {
			var num = provinces.length;
			var sel_province = document.getElementById("province");
			for(var i=0; i<num; i++){
				sel_province[i] = new Option(provinces[i], provinces[i]);
			}
			var area = '<s:property value="area" escape="false" />';
			if (area != "") {
				loadCity(area);
			}
		});
		</script>
	</head>
	<body class="memberCenter">
		<jsp:include page="/page/front/header.jsp"></jsp:include>
		<div class="body memberCenterIndex">
			<div class="bodyLeft">
				<jsp:include page="/page/front/user_left_menu.jsp"></jsp:include>
			</div>
			<div class="bodyRight">
				<div class="memberCenterDetail">
					<div class="top">收货地址 </div>
					<div class="middle">
						<div class="blank"></div>
						<form id="form" class="validate" action="modifyUserAddress.do" method="post">
							<input type="hidden" name="id" value="">
							<table class="inputTable">
								<tbody>
									<tr>
										<th>收货人：</th>
										<td>
											<input type="text" id="name" name="name" class="formText" value='<s:property value="name" />'>
										</td>
									</tr>
									<tr>
										<th>地区：</th>
										<td>
											<jsp:include page="/page/front/select_area.jsp"></jsp:include>
									</tr>
									<tr>
										<th>地址：</th>
										<td>
											<input type="text" id="address" name="address" class="formText" value='<s:property value="address" />'>
										</td>
									</tr>
									<tr>
										<th>邮编：</th>
										<td><input type="text" id="zipcode" name="zipCode" class="formText" onblur="isZIPcode(this.value)" value='<s:property value="zipCode" />'>
									</tr>
									<tr ><th></th><td><div id="zipdiv" class="item_error"></div></td></tr>
									<tr>
										<th>电话：</th>
										<td><input type="text" id="phone" name="phone" class="formText" onblur="isphone(this.value)" value='<s:property value="phone" />'>
									</tr>
									<tr ><th></th><td><div id="phonediv" class="item_error"></div></td></tr>
									<tr>
										<th>&nbsp;</th>
										<td>
											<input type="submit" class="submitButton" value="提 交" hidefocus="true" ">
										</td>
									</tr>
								</tbody>
							</table>
						</form>
						<div class="blank"></div>
					</div>
					<div class="bottom"></div>
				</div>
			</div>
		</div>
		<jsp:include page="/page/front/footer.jsp"></jsp:include>
	</body>
</html>
